home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Doom Game Editor
/
The Doom Game Editor - Wiley 1995.iso
/
patch
/
r12_11b
/
guy2sarg.bat
< prev
next >
Wrap
DOS Batch File
|
1995-02-23
|
14KB
|
361 lines
@echo off
if not %1nothing==nothing goto fix
if not exist dmgraph.exe goto oops
echo GUY2SARG - Replace Character graphics with Sargeant Graphics
echo and vise-versa.
echo Hit Ctrl-C to abort now...
pause > nul
echo Creating directory to store old player graphics...
md oldplyr
echo Extracting old Player graphics...This may take a while.
dmgraph playa1 -e oldplyr\playa1.gif
dmgraph playa2a8 -e oldplyr\playa2a8.gif
dmgraph playa3a7 -e oldplyr\playa3a7.gif
dmgraph playa4a6 -e oldplyr\playa4a6.gif
dmgraph playa5 -e oldplyr\playa5.gif
dmgraph playb1 -e oldplyr\playb1.gif
dmgraph playb2b8 -e oldplyr\playb2b8.gif
dmgraph playb3b7 -e oldplyr\playb3b7.gif
dmgraph playb4b6 -e oldplyr\playb4b6.gif
dmgraph playb5 -e oldplyr\playb5.gif
echo not even halfway yet...
dmgraph playc1 -e oldplyr\playc1.gif
dmgraph playc2c8 -e oldplyr\playc2c8.gif
dmgraph playc3c7 -e oldplyr\playc3c7.gif
dmgraph playc4c6 -e oldplyr\playc4c6.gif
dmgraph playc5 -e oldplyr\playc5.gif
dmgraph playd1 -e oldplyr\playd1.gif
dmgraph playd2d8 -e oldplyr\playd2d8.gif
dmgraph playd3d7 -e oldplyr\playd3d7.gif
dmgraph playd4d6 -e oldplyr\playd4d6.gif
dmgraph playd5 -e oldplyr\playd5.gif
echo about halfway...
dmgraph playe1 -e oldplyr\playe1.gif
dmgraph playe2e8 -e oldplyr\playe2e8.gif
dmgraph playe3e7 -e oldplyr\playe3e7.gif
dmgraph playe4e6 -e oldplyr\playe4e6.gif
dmgraph playe5 -e oldplyr\playe5.gif
dmgraph playf1 -e oldplyr\playf1.gif
dmgraph playf2f8 -e oldplyr\playf2f8.gif
dmgraph playf3f7 -e oldplyr\playf3f7.gif
dmgraph playf4f6 -e oldplyr\playf4f6.gif
dmgraph playf5 -e oldplyr\playf5.gif
dmgraph playg1 -e oldplyr\playg1.gif
dmgraph playg2g8 -e oldplyr\playg2g8.gif
dmgraph playg3g7 -e oldplyr\playg3g7.gif
dmgraph playg4g6 -e oldplyr\playg4g6.gif
dmgraph playg5 -e oldplyr\playg5.gif
echo ok, now extracting Player's Death Scenes..won't take too long.
dmgraph playh0 -e oldplyr\playh0.gif
dmgraph playi0 -e oldplyr\playi0.gif
dmgraph playj0 -e oldplyr\playj0.gif
dmgraph playk0 -e oldplyr\playk0.gif
dmgraph playl0 -e oldplyr\playl0.gif
dmgraph playm0 -e oldplyr\playm0.gif
dmgraph playn0 -e oldplyr\playn0.gif
dmgraph playo0 -e oldplyr\playo0.gif
dmgraph playp0 -e oldplyr\playp0.gif
dmgraph playq0 -e oldplyr\playq0.gif
dmgraph playr0 -e oldplyr\playr0.gif
dmgraph plays0 -e oldplyr\plays0.gif
dmgraph playt0 -e oldplyr\playt0.gif
dmgraph playu0 -e oldplyr\playu0.gif
dmgraph playv0 -e oldplyr\playv0.gif
dmgraph playw0 -e oldplyr\playw0.gif
echo done...
echo Now creating Directory for Old Sargeant Graphics...
md oldspos
echo Now extracting Old Sargeant Graphics...
dmgraph sposa1 -e oldspos\sposa1.gif
dmgraph sposa2a8 -e oldspos\sposa2a8.gif
dmgraph sposa3a7 -e oldspos\sposa3a7.gif
dmgraph sposa4a6 -e oldspos\sposa4a6.gif
dmgraph sposa5 -e oldspos\sposa5.gif
dmgraph sposb1 -e oldspos\sposb1.gif
dmgraph sposb2b8 -e oldspos\sposb2b8.gif
dmgraph sposb3b7 -e oldspos\sposb3b7.gif
dmgraph sposb4b6 -e oldspos\sposb4b6.gif
dmgraph sposb5 -e oldspos\sposb5.gif
dmgraph sposc1 -e oldspos\sposc1.gif
dmgraph sposc2c8 -e oldspos\sposc2c8.gif
dmgraph sposc3c7 -e oldspos\sposc3c7.gif
dmgraph sposc4c6 -e oldspos\sposc4c6.gif
dmgraph sposc5 -e oldspos\sposc5.gif
dmgraph sposd1 -e oldspos\sposd1.gif
dmgraph sposd2d8 -e oldspos\sposd2d8.gif
dmgraph sposd3d7 -e oldspos\sposd3d7.gif
dmgraph sposd4d6 -e oldspos\sposd4d6.gif
dmgraph sposd5 -e oldspos\sposd5.gif
echo Ok, about halfway done..and i typed all these out by hand..phew..
echo ...and yes, i am a moron..
dmgraph spose1 -e oldspos\spose1.gif
dmgraph spose2e8 -e oldspos\spose2e8.gif
dmgraph spose3e7 -e oldspos\spose3e7.gif
dmgraph spose4e6 -e oldspos\spose4e6.gif
dmgraph spose5 -e oldspos\spose5.gif
dmgraph sposf1 -e oldspos\sposf1.gif
dmgraph sposf2f8 -e oldspos\sposf2f8.gif
dmgraph sposf3f7 -e oldspos\sposf3f7.gif
dmgraph sposf4f6 -e oldspos\sposf4f6.gif
dmgraph sposf5 -e oldspos\sposf5.gif
dmgraph sposg1 -e oldspos\sposg1.gif
dmgraph sposg2g8 -e oldspos\sposg2g8.gif
dmgraph sposg3g7 -e oldspos\sposg3g7.gif
dmgraph sposg4g6 -e oldspos\sposg4g6.gif
dmgraph sposg5 -e oldspos\sposg5.gif
echo Ok, now i have to extract the Sargeant's Death Scenes...
dmgraph sposh0 -e oldspos\sposh0.gif
dmgraph sposi0 -e oldspos\sposi0.gif
dmgraph sposj0 -e oldspos\sposj0.gif
dmgraph sposk0 -e oldspos\sposk0.gif
dmgraph sposl0 -e oldspos\sposl0.gif
dmgraph sposm0 -e oldspos\sposm0.gif
dmgraph sposn0 -e oldspos\sposn0.gif
dmgraph sposo0 -e oldspos\sposo0.gif
dmgraph sposp0 -e oldspos\sposp0.gif
dmgraph sposq0 -e oldspos\sposq0.gif
dmgraph sposr0 -e oldspos\sposr0.gif
dmgraph sposs0 -e oldspos\sposs0.gif
dmgraph spost0 -e oldspos\spost0.gif
dmgraph sposu0 -e oldspos\sposu0.gif
echo done.
echo Now, we have to replace the Player Graphics with the Sargeant's
echo corresponding sprite...ugh...
dmgraph playa1 -s oldspos\sposa1.gif
dmgraph playa2a8 -s oldspos\sposa2a8.gif
dmgraph playa3a7 -s oldspos\sposa3a7.gif
dmgraph playa4a6 -s oldspos\sposa4a6.gif
dmgraph playa5 -s oldspos\sposa5.gif
dmgraph playb1 -s oldspos\sposb1.gif
dmgraph playb2b8 -s oldspos\sposb2b8.gif
dmgraph playb3b7 -s oldspos\sposb3b7.gif
dmgraph playb4b6 -s oldspos\sposb4b6.gif
dmgraph playb5 -s oldspos\sposb5.gif
dmgraph playc1 -s oldspos\sposc1.gif
dmgraph playc2c8 -s oldspos\sposc2c8.gif
dmgraph playc3c7 -s oldspos\sposc3c7.gif
dmgraph playc4c6 -s oldspos\sposc4c6.gif
dmgraph playc5 -s oldspos\sposc5.gif
dmgraph playd1 -s oldspos\sposd1.gif
dmgraph playd2d8 -s oldspos\sposd2d8.gif
dmgraph playd3d7 -s oldspos\sposd3d7.gif
dmgraph playd4d6 -s oldspos\sposd4d6.gif
dmgraph playd5 -s oldspos\sposd5.gif
echo Ok, about halfway done now...
dmgraph playe1 -s oldspos\spose1.gif
dmgraph playe2e8 -s oldspos\spose2e8.gif
dmgraph playe3e7 -s oldspos\spose3e7.gif
dmgraph playe4e6 -s oldspos\spose4e6.gif
dmgraph playe5 -s oldspos\spose5.gif
dmgraph playf1 -s oldspos\sposf1.gif
dmgraph playf2f8 -s oldspos\sposf2f8.gif
dmgraph playf3f7 -s oldspos\sposf3f7.gif
dmgraph playf4f6 -s oldspos\sposf4f6.gif
dmgraph playf5 -s oldspos\sposf5.gif
dmgraph playg1 -s oldspos\sposg1.gif
dmgraph playg2g8 -s oldspos\sposg2g8.gif
dmgraph playg3g7 -s oldspos\sposg3g7.gif
dmgraph playg4g6 -s oldspos\sposg4g6.gif
dmgraph playg5 -s oldspos\sposg5.gif
echo Now, we have to replace the Player's Death Scenes with the Sargeant's
echo Death Scenes...
dmgraph playh0 -s oldspos\sposh0.gif
dmgraph playi0 -s oldspos\sposi0.gif
dmgraph playj0 -s oldspos\sposj0.gif
dmgraph playk0 -s oldspos\sposk0.gif
dmgraph playl0 -s oldspos\sposl0.gif
dmgraph playm0 -s oldspos\sposl0.gif
dmgraph playn0 -s oldspos\sposl0.gif
dmgraph playo0 -s oldspos\sposm0.gif
dmgraph playp0 -s oldspos\sposn0.gif
dmgraph playq0 -s oldspos\sposo0.gif
dmgraph playr0 -s oldspos\sposp0.gif
dmgraph plays0 -s oldspos\sposq0.gif
dmgraph playt0 -s oldspos\sposr0.gif
dmgraph playu0 -s oldspos\sposs0.gif
dmgraph playv0 -s oldspos\spost0.gif
dmgraph playw0 -s oldspos\sposu0.gif
echo done.
echo Now is the final step, replacing the Sargeant's Graphics with the
echo corresponding Player's Sprites...
dmgraph sposa1 -s oldplyr\playa1.gif
dmgraph sposa2a8 -s oldplyr\playa2a8.gif
dmgraph sposa3a7 -s oldplyr\playa3a7.gif
dmgraph sposa4a6 -s oldplyr\playa4a6.gif
dmgraph sposa5 -s oldplyr\playa5.gif
dmgraph sposb1 -s oldplyr\playb1.gif
dmgraph sposb2b8 -s oldplyr\playb2b8.gif
dmgraph sposb3b7 -s oldplyr\playb3b7.gif
dmgraph sposb4b6 -s oldplyr\playb4b6.gif
dmgraph sposb5 -s oldplyr\playb5.gif
dmgraph sposc1 -s oldplyr\playc1.gif
dmgraph sposc2c8 -s oldplyr\playc2c8.gif
dmgraph sposc3c7 -s oldplyr\playc3c7.gif
dmgraph sposc4c6 -s oldplyr\playc4c6.gif
dmgraph sposc5 -s oldplyr\playc5.gif
dmgraph sposd1 -s oldplyr\playd1.gif
dmgraph sposd2d8 -s oldplyr\playd2d8.gif
dmgraph sposd3d7 -s oldplyr\playd3d7.gif
dmgraph sposd4d6 -s oldplyr\playd4d6.gif
dmgraph sposd5 -s oldplyr\playd5.gif
dmgraph spose1 -s oldplyr\playe1.gif
dmgraph spose2e8 -s oldplyr\playe2e8.gif
dmgraph spose3e7 -s oldplyr\playe3e7.gif
dmgraph spose4e6 -s oldplyr\playe4e6.gif
dmgraph spose5 -s oldplyr\playe5.gif
dmgraph sposf1 -s oldplyr\playf1.gif
dmgraph sposf2f8 -s oldplyr\playf2f8.gif
dmgraph sposf3f7 -s oldplyr\playf3f7.gif
dmgraph sposf4f6 -s oldplyr\playf4f6.gif
dmgraph sposf5 -s oldplyr\playf5.gif
dmgraph sposg1 -s oldplyr\playg1.gif
dmgraph sposg2g8 -s oldplyr\playg2g8.gif
dmgraph sposg3g7 -s oldplyr\playg3g7.gif
dmgraph sposg4g6 -s oldplyr\playg4g6.gif
dmgraph sposg5 -s oldplyr\playg5.gif
echo Now to replace the Sargeant's Death Scenes...
dmgraph sposh0 -s oldplyr\playj0.gif
dmgraph sposi0 -s oldplyr\playk0.gif
dmgraph sposj0 -s oldplyr\playl0.gif
dmgraph sposk0 -s oldplyr\playm0.gif
dmgraph sposl0 -s oldplyr\playn0.gif
dmgraph sposm0 -s oldplyr\playo0.gif
dmgraph sposn0 -s oldplyr\playp0.gif
dmgraph sposo0 -s oldplyr\playq0.gif
dmgraph sposp0 -s oldplyr\playr0.gif
dmgraph sposq0 -s oldplyr\plays0.gif
dmgraph sposr0 -s oldplyr\playt0.gif
dmgraph sposs0 -s oldplyr\playu0.gif
dmgraph spost0 -s oldplyr\playv0.gif
dmgraph sposu0 -s oldplyr\playw0.gif
echo DONE!
echo
echo Just run 'guy2sarg' with anything as a parameter to change your
echo DOOM.WAD back to normal.
echo Courtesy Dave Matteson (davematt@mail.msen.com)...
goto end
:fix
echo GUY2SARG - We are gonna fix your DOOM.WAD (change it back to normal)
echo Hit Ctrl-C now if you don't want to...
pause > nul
echo Fixing Player's Graphics...
dmgraph playa1 -s oldplyr\playa1.gif
dmgraph playa2a8 -s oldplyr\playa2a8.gif
dmgraph playa3a7 -s oldplyr\playa3a7.gif
dmgraph playa4a6 -s oldplyr\playa4a6.gif
dmgraph playa5 -s oldplyr\playa5.gif
dmgraph playb1 -s oldplyr\playb1.gif
dmgraph playb2b8 -s oldplyr\playb2b8.gif
dmgraph playb3b7 -s oldplyr\playb3b7.gif
dmgraph playb4b6 -s oldplyr\playb4b6.gif
dmgraph playb5 -s oldplyr\playb5.gif
dmgraph playc1 -s oldplyr\playc1.gif
dmgraph playc2c8 -s oldplyr\playc2c8.gif
dmgraph playc3c7 -s oldplyr\playc3c7.gif
dmgraph playc4c6 -s oldplyr\playc4c6.gif
dmgraph playc5 -s oldplyr\playc5.gif
dmgraph playd1 -s oldplyr\playd1.gif
dmgraph playd2d8 -s oldplyr\playd2d8.gif
dmgraph playd3d7 -s oldplyr\playd3d7.gif
dmgraph playd4d6 -s oldplyr\playd4d6.gif
dmgraph playd5 -s oldplyr\playd5.gif
echo Ok, about halfway done now...
dmgraph playe1 -s oldplyr\playe1.gif
dmgraph playe2e8 -s oldplyr\playe2e8.gif
dmgraph playe3e7 -s oldplyr\playe3e7.gif
dmgraph playe4e6 -s oldplyr\playe4e6.gif
dmgraph playe5 -s oldplyr\playe5.gif
dmgraph playf1 -s oldplyr\playf1.gif
dmgraph playf2f8 -s oldplyr\playf2f8.gif
dmgraph playf3f7 -s oldplyr\playf3f7.gif
dmgraph playf4f6 -s oldplyr\playf4f6.gif
dmgraph playf5 -s oldplyr\playf5.gif
dmgraph playg1 -s oldplyr\playg1.gif
dmgraph playg2g8 -s oldplyr\playg2g8.gif
dmgraph playg3g7 -s oldplyr\playg3g7.gif
dmgraph playg4g6 -s oldplyr\playg4g6.gif
dmgraph playg5 -s oldplyr\playg5.gif
echo Now fixing Player's Death Scenes..
dmgraph playh0 -s oldplyr\playh0.gif
dmgraph playi0 -s oldplyr\playi0.gif
dmgraph playj0 -s oldplyr\playj0.gif
dmgraph playk0 -s oldplyr\playk0.gif
dmgraph playl0 -s oldplyr\playl0.gif
dmgraph playm0 -s oldplyr\playm0.gif
dmgraph playn0 -s oldplyr\playn0.gif
dmgraph playo0 -s oldplyr\playo0.gif
dmgraph playp0 -s oldplyr\playp0.gif
dmgraph playq0 -s oldplyr\playq0.gif
dmgraph playr0 -s oldplyr\playr0.gif
dmgraph plays0 -s oldplyr\plays0.gif
dmgraph playt0 -s oldplyr\playt0.gif
dmgraph playu0 -s oldplyr\playu0.gif
dmgraph playv0 -s oldplyr\playv0.gif
dmgraph playw0 -s oldplyr\playw0.gif
echo done.
echo Fixing Sargeant's Normal Graphics...
dmgraph sposa1 -s oldspos\sposa1.gif
dmgraph sposa2a8 -s oldspos\sposa2a8.gif
dmgraph sposa3a7 -s oldspos\sposa3a7.gif
dmgraph sposa4a6 -s oldspos\sposa4a6.gif
dmgraph sposa5 -s oldspos\sposa5.gif
dmgraph sposb1 -s oldspos\sposb1.gif
dmgraph sposb2b8 -s oldspos\sposb2b8.gif
dmgraph sposb3b7 -s oldspos\sposb3b7.gif
dmgraph sposb4b6 -s oldspos\sposb4b6.gif
dmgraph sposb5 -s oldspos\sposb5.gif
dmgraph sposc1 -s oldspos\sposc1.gif
dmgraph sposc2c8 -s oldspos\sposc2c8.gif
dmgraph sposc3c7 -s oldspos\sposc3c7.gif
dmgraph sposc4c6 -s oldspos\sposc4c6.gif
dmgraph sposc5 -s oldspos\sposc5.gif
dmgraph sposd1 -s oldspos\sposd1.gif
dmgraph sposd2d8 -s oldspos\sposd2d8.gif
dmgraph sposd3d7 -s oldspos\sposd3d7.gif
dmgraph sposd4d6 -s oldspos\sposd4d6.gif
dmgraph sposd5 -s oldspos\sposd5.gif
dmgraph spose1 -s oldspos\spose1.gif
dmgraph spose2e8 -s oldspos\spose2e8.gif
dmgraph spose3e7 -s oldspos\spose3e7.gif
dmgraph spose4e6 -s oldspos\spose4e6.gif
dmgraph spose5 -s oldspos\spose5.gif
dmgraph sposf1 -s oldspos\sposf1.gif
dmgraph sposf2f8 -s oldspos\sposf2f8.gif
dmgraph sposf3f7 -s oldspos\sposf3f7.gif
dmgraph sposf4f6 -s oldspos\sposf4f6.gif
dmgraph sposf5 -s oldspos\sposf5.gif
dmgraph sposg1 -s oldspos\sposg1.gif
dmgraph sposg2g8 -s oldspos\sposg2g8.gif
dmgraph sposg3g7 -s oldspos\sposg3g7.gif
dmgraph sposg4g6 -s oldspos\sposg4g6.gif
dmgraph sposg5 -s oldspos\sposg5.gif
echo Fixing Death Scenes...
dmgraph sposh0 -s oldspos\sposh0.gif
dmgraph sposi0 -s oldspos\sposi0.gif
dmgraph sposj0 -s oldspos\sposj0.gif
dmgraph sposk0 -s oldspos\sposk0.gif
dmgraph sposl0 -s oldspos\sposl0.gif
dmgraph sposm0 -s oldspos\sposm0.gif
dmgraph sposn0 -s oldspos\sposn0.gif
dmgraph sposo0 -s oldspos\sposo0.gif
dmgraph sposp0 -s oldspos\sposp0.gif
dmgraph sposq0 -s oldspos\sposq0.gif
dmgraph sposr0 -s oldspos\sposr0.gif
dmgraph sposs0 -s oldspos\sposs0.gif
dmgraph spost0 -s oldspos\spost0.gif
dmgraph sposu0 -s oldspos\sposu0.gif
echo Deleting Old Player Graphics and Directory...
deltree oldplyr
echo Deleting Old Sargeant Graphics and Directory...
deltree oldsarg
echo DONE!
echo Your DOOM.WAD is back to normal...have fun!
goto end
:oops
echo WHOOPS!
echo You need DMGRAPH.EXE for this patch. i didn't include it because
echo that would make this patch much bigger than it needs to be, and
echo DMGRAPH is most likely available where you got this.
goto end
:end